#ifndef _OpenChestDialog_h_
#define _OpenChestDialog_h_

#include "Global.h"

class OpenChestDialog : public ModelDialog, public DynamicClass
{
	DECLARE_CLASS(OpenChestDialog)
public:
	OpenChestDialog(void);
	~OpenChestDialog(void);
	bool init();
	void touchScreen();
	void refresh();
	cocos2d::CCSprite* pBg;
	cocos2d::CCSprite* pIconBg;
	cocos2d::CCSprite* pIcon;
	cocos2d::CCLabelTTF* pOpenTip;
	cocos2d::CCLabelTTF* pOpenItem;
	void setIcon(int itemID);
	void setItemTip(int itemID);
	CREATE_FUNC(OpenChestDialog)

};
IMPLEMENT_NODE_CLASS(OpenChestDialog)

#endif